<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ page import="java.io.*,java.util.*,java.sql.*" %>
<%@ page import="javax.servlet.http.*,javax.servlet.*" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<html>
<head>
	<meta charset="utf-8"> 
	<title>同学录</title>
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<style>
    .fakeimg {
        height: 200px;
         background: #aaa;
    }
    td,th{
      text-align: center;
    }
    
  </style>
</head>
<body>
  <!-- 头部开始 -->
<div class="jumbotron text-center" style="margin-bottom:0">
  <h1>同学录</h1>
</div>
<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>                        
      </button>
      <a class="navbar-brand" href="#">计科1班 </a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav" style="width: 85%;">
        <li class=""><a href="./index.jsp">主页</a></li>
        <li><a href="./add.jsp">添加新同学</a></li>
        <li><a href="./edit.jsp">修改同学信息</a></li>
        <li class="navbar-right active"><a href="./login.jsp">登录</a></li>
        <li class="navbar-right"><a href="./sign.jsp">注册</a></li>
      </ul>
    </div>
  </div>
</nav>
<!-- 头部结束 -->

<div class="container" style="width: 30%;">
  <h1 style="text-align: center; margin-bottom: 50px;">管理员登录</h1>

    <div>
        <form action="/loginServlet" method="post">
            <div class="form-group">
              <label for="exampleInputEmail1">用户名</label>
              <input type="text" name="userName" class="form-control" id="exampleInputEmail1" placeholder="请输入账号">
            </div>
            <div class="form-group">
              <label for="exampleInputPassword1">密码</label>
              <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="请输入密码">
            </div>
      
            <div class="form-group">
                <button type="submit" class="btn btn-primary">登录</button>
            </div>
    
          </form>
    </div>
</div>


  <div class="jumbotron text-center" style="margin-bottom:0">
    <p>@梅文超 2020-5-20</p>
  </div>


</body>
</html>